package com.learncloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learncloud.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统角色表 Mapper 接口
 * </p>
 *
 * @author yj
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> findByUserId(@Param("userId") Integer userId, @Param("status")String status);
}
